package com.ruoyi.recycle.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("回收/家政 订单评价表")
@TableName(value = "order_evaluate")
public class OrderEvaluate implements Serializable {

    @ApiModelProperty(name = "id", value = "id", dataType = "Integer")
    @TableId
    private Integer id;
    @ApiModelProperty(name = "orderId", value = "订单ID", dataType = "String")
    private String orderId;
    @ApiModelProperty(name = "orderType", value = "订单类型（0.回收订单，1.家政服务订单）", dataType = "String")
    private String orderType;
    @ApiModelProperty(name = "clientId", value = "客户id", dataType = "Integer")
    private Integer clientId;
    @ApiModelProperty(name = "detail",value = "评价详情",dataType = "String")
    private String detail;
    @ApiModelProperty(name = "status",value = "状态(未启用，默认传1.通过)",dataType = "String")
    private String status;
    @ApiModelProperty(name = "evaluate",value = "评论（0.好评，1.差评）",dataType = "Integer")
    private String evaluate;
    @ApiModelProperty(name = "createdBy",value = "创建人",dataType = "String")
    private String createdBy;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "commentTime",value = "评论时间",dataType = "Date",notes = "yyyy-MM-dd")
    @Excel(name = "评论时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;
    @ApiModelProperty(name = "merchantName",value = "综合站名称",dataType = "String")
    private String merchantName;
    @ApiModelProperty(name = "merchantId",value = "综合站Id",dataType = "Long")
    private Long merchantId;
    @ApiModelProperty(name = "housekeepingType",value = "服务类型",dataType = "String")
    private String housekeepingType;

}
